package com.itheima.mapper;

import com.itheima.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 小帅蓝
 * @Date 2022/6/18 20:00
 */
@Mapper
public interface DishFlavorMapper {

    /**
     * 根据菜品id查询dish_flavor
     *
     * @param dishId 菜品id
     * @return List<DishFlavor>
     */
    List<DishFlavor> selectByDishId(@Param("dishId") String dishId);

}
